package com.ruicar.afs.cloud.account.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruicar.afs.cloud.account.common.entity.VoucherAtom;
import com.ruicar.afs.cloud.account.vo.VoucherAtomVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/6/23 21:09
 */
public interface VoucherAtomMapper extends  BaseMapper<VoucherAtom>{
    IPage<VoucherAtomVo> queryAtoms(IPage page, @Param("atom") VoucherAtomVo voucherAtomVo);
    List<VoucherAtomVo> queryAtomsByBizType(@Param("bizType") String bizType);
}
